package com.kgc.ebookk.ebookkmanger.mapper;


import com.kgc.ebookk.ebookkmanger.pojo.ViewEntryCategory;
import com.kgc.ebookk.ebookkmanger.pojo.ViewEntryCategoryExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ViewEntryCategoryMapper {
    int countByExample(ViewEntryCategoryExample example);

    int deleteByExample(ViewEntryCategoryExample example);

    int insert(ViewEntryCategory record);

    int insertSelective(ViewEntryCategory record);

    List<ViewEntryCategory> selectByExample(ViewEntryCategoryExample example);

    int updateByExampleSelective(@Param("record") ViewEntryCategory record, @Param("example") ViewEntryCategoryExample example);

    int updateByExample(@Param("record") ViewEntryCategory record, @Param("example") ViewEntryCategoryExample example);
}